<?PHP
	include 'adminStyles.php';
	require_once "../../../../mainfile.php";
?>
<div style="margin:8px;">
	<form id="media" name="media" action="" method="post" onSubmit="addNewCat();" onKeyPress="return event.keyCode != 13" dojoType="dijit.form.Form">

  <table >
    <tr>
      <th colspan="3">Manage Media Notifications</th>
    </tr>
    <!-- MEDIA OUTLETS ####################################################### -->
    <tr>
      <td class="head" style="width:100px;font-weight:<?PHP echo $adminFormItemHeaderWeight; ?>;"></td>
      <td class="even" colspan="2">
      	<div preload="true" id="dropDownMediaNotPane" href="includes/dropDownMediaNotHtml.php" dojoType="dijit.layout.ContentPane" preventCache="true">
      </td>
    </tr>
    <!-- MEDIA OUTLET NAME ####################################################### -->
    <tr>
      <td class="head" style="width:100px;font-weight:<?PHP echo $adminFormItemHeaderWeight; ?>;">Media Name:<span style='font-size:10px;color:#FF0000'>*</span></td>
      <td class="even" colspan="2">
      	<input id="mediaName" name="mediaName" value=""
                dojoType="dijit.form.TextBox"
                trim="true"
                propercase="true" onChange="enableAddBtn();" required="true" style="width:300px;"/>
      </td>
    </tr>
	<!-- MEDIA OUTLET EMAIL ####################################################### -->
    <tr>
      <td class="head" style="width:100px;font-weight:<?PHP echo $adminFormItemHeaderWeight; ?>;">Media Email:<span style='font-size:10px;color:#FF0000'>*</span></td>
      <td class="even" colspan="2">
      	<div dojoType="dijit.form.TextBox" trim="true" propercase="false" maxLength="200" id="mediaEmail" name="mediaEmail" required="true" style="width:300px;">
        </div>
      </td>
    </tr>
	<!-- SUBMIT BUTTONS ####################################################### -->
    <tr>
      <td class="head" style="width:100px;font-weight:<?PHP echo $adminFormItemHeaderWeight; ?>;">&nbsp;</td>
      <td class="even" colspan="2">
      	<button dojoType="dijit.form.Button" id="addNot" disabled="true" onClick="addNewNotification();" style="height: 50px;">Add New</button><button dojoType="dijit.form.Button" disabled="true" id="updateNot" onClick="updateMediaEntity();" style="height: 50px;">Update Media Entity</button><button dojoType="dijit.form.Button" onClick="deleteMediaEntity()" disabled="true" id="deleteNot" style="height: 50px;">Delete Media Entity</button><button dojoType="dijit.form.Button" disabled="true" id="resetMediaNotForm" onClick="resetNotificationForm();" style="height: 50px;">Reset Form</button>
      </td>
    </tr>

  </table>
	</form>
</div>